package com.dom.domweb.modular.service;

import com.dom.common.model.vo.apply.*;
import com.dom.domweb.consumer.PurcCredConsumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description 采购单服务
 * @Author xllei
 * @Date 2018/12/9 3:35 AM
 * @Version 1.0
 **/
@Service
public class PurcCredService extends AbstractApproveService {
    @Autowired
    private PurcCredConsumer purcCredConsumer;

    public P059A findPurcCredList(P059R request) {
        return purcCredConsumer.getPurcCredPager(request);
    }

    public P050A addPurcCredBill(P050R request) {
        return purcCredConsumer.addPurcCred(request);
    }

    public P069A findPurcCredDetailList(P069R request) {
        return purcCredConsumer.getPurcCredDetailList(request);
    }

    public P052A editPurcCredBill(P052R request) {
        return purcCredConsumer.editPurcCred(request);
    }
}
